]> shimmer.witbreuk.eu Git - UltimateKEYS.git/blobdiff - autohotkey/UltimateKEYS (for AutoHotkey v2).ahk
Add files via upload
[UltimateKEYS.git] / autohotkey / UltimateKEYS (for AutoHotkey v2).ahk
index 24eaf09be05bb63e18fc986c68ad10ea2651289c..6233fa58f55b000a7b7707f86d42b20d602e7dc7 100644 (file)
@@ -1,6 +1,6 @@
 #requires AutoHotkey v2
 
-; UltimateKEYS (for AutoHotkey v2).ahk - 2023-12-28
+; UltimateKEYS (for AutoHotkey v2).ahk - 2024-01-22
 
 ; Website :  www.ultimatekeys.info (pieter-degroote.github.io/UltimateKEYS/)
 
@@ -17,8 +17,8 @@
 
 
 
-ListLines False   ; omits recently executed lines from history (for privacy and security)
 KeyHistory 0      ; disables the key history (for privacy and security)
+ListLines False   ; omits recently executed lines from history (for privacy and security)
 
 SendMode "Input"  ; optimizes for faster and more reliable input
 
@@ -810,7 +810,8 @@ cmpSymbols["c"] := "{u+2105}"  ; (℅) care of
 cmpSymbols["d"] := "{u+22c4}"  ; (⋄) diamond operator
 cmpSymbols["e"] := "{u+212e}"  ; (℮) estimated symbol
 cmpSymbols["f"] := "{u+2640}"  ; (♀) female sign (Venus)
-cmpSymbols["h"] := "{u+2126}"  ; (Ω) ohm sign (backwards compatibility)
+cmpSymbols["h"] := "{u+2302}"  ; (⌂) house
+cmpSymbols["H"] := "{u+2126}"  ; (Ω) ohm sign (backwards compatibility)
 cmpSymbols["i"] := "{u+2300}"  ; (⌀) diameter sign
 cmpSymbols["l"] := "{u+2113}"  ; (ℓ) script small l
 cmpSymbols["L"] := "{u+2112}"  ; (ℒ) Laplace transform
@@ -879,6 +880,7 @@ cmpMathSymbols["4"] := "{u+2237}"  ; (∷) proportion sign
 cmpMathSymbols["6"] := "{u+2220}"  ; (∠) angle symbol
 cmpMathSymbols["9"] := "{u+221f}"  ; (∟) right angle
 cmpMathSymbols["0"] := "{u+2221}"  ; (∡) measured angle
+cmpMathSymbols[","] := "{u+2219}"  ; (∙) bullet operator
 cmpMathSymbols["+"] := "{u+2295}"  ; (⊕) circled plus
 cmpMathSymbols["-"] := "{u+2296}"  ; (⊖) circled minus
 cmpMathSymbols["*"] := "{u+2297}"  ; (⊗) circled times
@@ -925,6 +927,7 @@ cmpCapitalT["H"] := "{u+00de}"   ; (Þ) capital letter thorn
 
 global cmpDigitEight := Map()
 global cmpCapitalP := Map()
+global cmpVerticalLine := Map()
 global cmpAsterisk := Map()
 global cmpExclam := Map()
 global cmpQuestion := Map()
@@ -949,6 +952,7 @@ cmpSmallR["4"] := "{u+221c}"        ; (∜) fourth root
 cmpSymbols["o"] := "{u+00a7}"       ; (§) section sign
 cmpCapitalS["o"] := "{u+00a7}"      ; (§) section sign
 cmpSmallT["m"] := "{u+2122}"        ; (™) trademark symbol
+cmpVerticalLine["|"] := "{u+2016}"  ; (‖) double vertical line
 cmpAcuteAccent["1"] := "{u+2032}"   ; (′) prime
 cmpAcuteAccent["2"] := "{u+2033}"   ; (″) double prime
 cmpAcuteAccent["3"] := "{u+2034}"   ; (‴) triple prime
@@ -957,8 +961,9 @@ cmpAsterisk["*"] := "{u+00d7}"      ; (×) multiplication sign
 cmpStroke["/"] := "{u+00f7}"        ; (÷) division sign
 cmpAsterisk["o"] := "{u+00b0}"      ; (°) degree sign
 cmpRingAbove["*"] := "{u+00b0}"     ; (°) degree sign
-cmpDotAbove["."] := "{u+00b7}"      ; (·) middle dot
+cmpDotAbove["-"] := "{u+00b7}"      ; (·) middle dot
 cmpDotAbove["3"] := "{u+2026}"      ; (…) horizontal ellipsis
+cmpDotAbove["."] := "{u+2026}"      ; (…) horizontal ellipsis
 cmpArrow["-"] := "{u+00aa}"         ; (ª) feminine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpRingAbove["-"] := "{u+00ba}"     ; (º) masculine ordinal indicator (Spanish, Portuguese, Italian, Galician)
 cmpExclam["!"] := "{u+00a1}"        ; (¡) inverted exclamation mark
@@ -1000,6 +1005,10 @@ cmpSemicolon["i"] := "{u+25b5}"  ; (▵) white up-pointing small triangle
 cmpSemicolon["j"] := "{u+25c3}"  ; (◃) white left-pointing small triangle
 cmpSemicolon["k"] := "{u+25bf}"  ; (▿) white down-pointing small triangle
 cmpSemicolon["l"] := "{u+25b9}"  ; (▹) white right-pointing small triangle
+cmpSemicolon["z"] := "{u+25a0}"  ; (■) black square
+cmpSemicolon["x"] := "{u+25a1}"  ; (□) white square
+cmpSemicolon["c"] := "{u+25c6}"  ; (◆) black diamond
+cmpSemicolon["v"] := "{u+25c7}"  ; (◇) white diamond
 cmpSemicolon[";"] := "{u+2022}"  ; (•) bullet
 
 
@@ -1498,28 +1507,28 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!z:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00c0}"  ; (À) A with grave
+    Send "{u+00c1}"  ; (Á) A with acute
   else
-    Send "{u+00e0}"  ; (à) a with grave
+    Send "{u+00e1}"  ; (á) a with acute
 }
 >!+z:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00e0}"  ; (à) a with grave
+    Send "{u+00e1}"  ; (á) a with acute
   else
-    Send "{u+00c0}"  ; (À) A with grave
+    Send "{u+00c1}"  ; (Á) A with acute
 }
 
 >!x:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00c1}"  ; (Á) A with acute
+    Send "{u+00c0}"  ; (À) A with grave
   else
-    Send "{u+00e1}"  ; (á) a with acute
+    Send "{u+00e0}"  ; (à) a with grave
 }
 >!+x:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00e1}"  ; (á) a with acute
+    Send "{u+00e0}"  ; (à) a with grave
   else
-    Send "{u+00c1}"  ; (Á) A with acute
+    Send "{u+00c0}"  ; (À) A with grave
 }
 
 >!d:: {
@@ -1563,28 +1572,28 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!f:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00c8}"  ; (È) E with grave
+    Send "{u+00c9}"  ; (É) E with acute
   else
-    Send "{u+00e8}"  ; (è) e with grave
+    Send "{u+00e9}"  ; (é) e with acute
 }
 >!+f:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00e8}"  ; (è) e with grave
+    Send "{u+00e9}"  ; (é) e with acute
   else
-    Send "{u+00c8}"  ; (È) E with grave
+    Send "{u+00c9}"  ; (É) E with acute
 }
 
 >!g:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00c9}"  ; (É) E with acute
+    Send "{u+00c8}"  ; (È) E with grave
   else
-    Send "{u+00e9}"  ; (é) e with acute
+    Send "{u+00e8}"  ; (è) e with grave
 }
 >!+g:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00e9}"  ; (é) e with acute
+    Send "{u+00e8}"  ; (è) e with grave
   else
-    Send "{u+00c9}"  ; (É) E with acute
+    Send "{u+00c8}"  ; (È) E with grave
 }
 
 >!r:: {
@@ -1615,28 +1624,28 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!v:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00cc}"  ; (Ì) I with grave
+    Send "{u+00cd}"  ; (Í) I with acute
   else
-    Send "{u+00ec}"  ; (ì) i with grave
+    Send "{u+00ed}"  ; (í) i with acute
 }
 >!+v:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00ec}"  ; (ì) i with grave
+    Send "{u+00ed}"  ; (í) i with acute
   else
-    Send "{u+00cc}"  ; (Ì) I with grave
+    Send "{u+00cd}"  ; (Í) I with acute
 }
 
 >!b:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00cd}"  ; (Í) I with acute
+    Send "{u+00cc}"  ; (Ì) I with grave
   else
-    Send "{u+00ed}"  ; (í) i with acute
+    Send "{u+00ec}"  ; (ì) i with grave
 }
 >!+b:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00ed}"  ; (í) i with acute
+    Send "{u+00ec}"  ; (ì) i with grave
   else
-    Send "{u+00cd}"  ; (Í) I with acute
+    Send "{u+00cc}"  ; (Ì) I with grave
 }
 
 >!t:: {
@@ -1706,28 +1715,28 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!,:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00d2}"  ; (Ò) O with grave
+    Send "{u+00d3}"  ; (Ó) O with acute
   else
-    Send "{u+00f2}"  ; (ò) o with grave
+    Send "{u+00f3}"  ; (ó) o with acute
 }
 >!<:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00f2}"  ; (ò) o with grave
+    Send "{u+00f3}"  ; (ó) o with acute
   else
-    Send "{u+00d2}"  ; (Ò) O with grave
+    Send "{u+00d3}"  ; (Ó) O with acute
 }
 
 >!.:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00d3}"  ; (Ó) O with acute
+    Send "{u+00d2}"  ; (Ò) O with grave
   else
-    Send "{u+00f3}"  ; (ó) o with acute
+    Send "{u+00f2}"  ; (ò) o with grave
 }
 >!>:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00f3}"  ; (ó) o with acute
+    Send "{u+00f2}"  ; (ò) o with grave
   else
-    Send "{u+00d3}"  ; (Ó) O with acute
+    Send "{u+00d2}"  ; (Ò) O with grave
 }
 
 >!p:: {
@@ -1771,28 +1780,28 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 
 >!h:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00d9}"  ; (Ù) U with grave
+    Send "{u+00da}"  ; (Ú) U with acute
   else
-    Send "{u+00f9}"  ; (ù) u with grave
+    Send "{u+00fa}"  ; (ú) u with acute
 }
 >!+h:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00f9}"  ; (ù) u with grave
+    Send "{u+00fa}"  ; (ú) u with acute
   else
-    Send "{u+00d9}"  ; (Ù) U with grave
+    Send "{u+00da}"  ; (Ú) U with acute
 }
 
 >!j:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00da}"  ; (Ú) U with acute
+    Send "{u+00d9}"  ; (Ù) U with grave
   else
-    Send "{u+00fa}"  ; (ú) u with acute
+    Send "{u+00f9}"  ; (ù) u with grave
 }
 >!+j:: {
   if GetKeyState("CapsLock", "T")
-    Send "{u+00fa}"  ; (ú) u with acute
+    Send "{u+00f9}"  ; (ù) u with grave
   else
-    Send "{u+00da}"  ; (Ú) U with acute
+    Send "{u+00d9}"  ; (Ù) U with grave
 }
 
 >!y:: {
@@ -1865,7 +1874,7 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 >!_::Send "{u+2014}"   ; (—) em dash
 
 >!=::Send "{u+00d7}"   ; (×) multiplication sign
->!+=::Send "{u+00f7}"  ; (÷) division sign
+>!+::Send "{u+00f7}"   ; (÷) division sign
 
 >![::Send "{u+00ab}"   ; («) left-pointing double angle quotation mark
 >!{::Send "{u+2039}"   ; (‹) left-pointing single angle quotation mark
@@ -1876,17 +1885,17 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
 >!;::Send "{u+00b0}"   ; (°) degree sign
 >!+;::Send "{u+00b7}"  ; (·) middle dot
 
->!'::Send "{u+2020}"   ; (†) dagger
->!+'::Send "{u+2021}"  ; (‡) double dagger
+>!'::Send "{u+266a}"   ; (♪) eighth note
+>!"::Send "{u+266b}"   ; (♫) beamed eighth notes
 
 >!\::Send "{u+2002}"   ;     en space
 >!|::Send "{u+2003}"   ;     em space
 
 >!/::Send "{u+00bf}"   ; (¿) inverted question mark
->!?::Send "{u+2026}"   ; (…) horizontal ellipsis
+>!?::Send "{u+2022}"   ; (•) bullet
 
->!space::Send "{u+00a0}"   ;     non-breaking space (NBSP)
->!+space::Send "{u+2022}"  ; (•) bullet
+>!space::Send "{u+00a0}"   ; non-breaking space (NBSP)
+>!+space::Send "{u+00a0}"  ; non-breaking space (NBSP)
 
 
 ; Configuration :  Compose Key Selector
@@ -2059,6 +2068,10 @@ cmpSmallN["0"] := "{u+277f}"  ; (❿) dingbat negative circled digit 10
     if cmpCapitalP.Has(ihB.Input)
       Send cmpCapitalP[ihB.Input]
   }
+  else if (ihA.Input == "|") {
+    if cmpVerticalLine.Has(ihB.Input)
+      Send cmpVerticalLine[ihB.Input]
+  }
   else if (ihA.Input == "*") {
     if cmpAsterisk.Has(ihB.Input)
       Send cmpAsterisk[ihB.Input]